﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class WMSBarCodeInformationDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WMSBarCodeInformationRequestDto
    {
        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_no")]
        public string barcode_no { get; set; }
       

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WMSBarCodeInformationResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public string code { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public string status { get; set; }
        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "rows")]

        public List<WMSBarCodeInformationResponseData> data { get; set; }

    }

    public class WMSBarCodeInformationResponseData
    {
        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_no")]
        public string barcode_no { get; set; }

        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_status")]
        public string barcode_status { get; set; }


        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_no")]
        public string source_no { get; set; }


        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }


        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_name")]
        public string material_name { get; set; }


        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_unit")]
        public string material_unit { get; set; }
        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public decimal? material_amount { get; set; }
        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_batch")]
        public string source_batch { get; set; }
        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "supplier_code")]
        public string supplier_code { get; set; }

        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "supplier_name")]
        public string supplier_name { get; set; }

        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "warehouse_code")]
        public string warehouse_code { get; set; }


        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "rno")]
        public string rno { get; set; }


        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "create_by")]
        public string create_by { get; set; }

        /// <summary>
        /// 描述 : 条码编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "create_time")]
        public DateTime?  create_time { get; set; }



    }
}
